{% extends "base.html" %}

{% block content %}
    <h2>View feedback</h2>
    
    <table class="feedback-table">
    <tr>
        <th>Date</th>
        <th>Author</th>
        <th>Text</th>
        <th>Google user</th>
    </tr>
    {% for item in items %}
        <tr>
        <td>
            <b>{{ item.date }}</b>
        </td>
        <td>
            {{ item.author|escape }}
        </td>
        <td>
            <blockquote>{{ item.content|escape }}</blockquote>
        </td>
        <td>
            {{ item.user.email }}
        </td>
        </tr>
    {% endfor %}
    </table>
    
{% endblock %}